<?php 

$theme_path = dirname(__FILE__);

ob_start();
   
if($is_front) {
    require $theme_path . '/templates/page-front.tpl.php';
}
else {
    require $theme_path . '/templates/page-default.tpl.php';
}


$content = trim(ob_get_clean());

require $theme_path . '/templates/wrapper.tpl.php';
?>
